﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace InformationSystem.BLL.Core.Model
{
    public class ThreadInfo : BaseClass
    {
        public int ThreadID { get; set; }
        public int CollegeID { get; set; }
        public int ThreadType { get; set; }
        public string ThreadTypeName { get; set; }
        public string ThreadSubject { get; set; }
        public string Content { get; set; }
        public string CreatUserID { get; set; }
        public string CreatUserName { get; set; }
        public bool HideName { get; set; }
        public bool CanReplyHideName { get; set; }
        public bool IsApproved { get; set; }
        public string CheckUserID { get; set; }
        public string CheckUserName { get; set; }
        public DateTime CreateTime { get; set; }
        public DateTime CheckTime { get; set; }
        public int ReplyCount { get; set; }
        public int VisitedCount { get; set; }
        /// <summary>
        /// 最后回复时间
        /// </summary>
        public DateTime LastReplyTime { get; set; }
        /// <summary>
        /// 最后回复者ID
        /// </summary>
        public string LastReplyUserID { get; set; }
        /// <summary>
        /// 最后回复者姓名
        /// </summary>
        public string LastReplyUserName { get; set; }

        public bool LastReplyHideName { get; set; }
        /// <summary>
        /// 是否置顶
        /// </summary>
        public bool IsOnTop { get; set; }
        /// <summary>
        /// 能否回复
        /// </summary>
        public bool CanReply { get; set; }

        public IList<ThreadReplyInfo> ReplyList { get; set; }
    }
}
